-content_for :advert_top do
  -if Advert.advert.top_advert
    = Advert.advert.top_advert

-content_for :advert_side do
  -if Advert.advert.side_advert
    = Advert.advert.side_advert

-content_for :advert_bottom do

  -if Advert.advert.bottom_advert
    = Advert.advert.bottom_advert
                  
-content_for :javascripts do 
  %script{:type => "text/javascript", :charset => "utf-8"}
    var MSGS = {#{GameConfig.game_config.js_messages}};
    var START_IMAGE_SRC = '#{game_config_image_url(GameConfig.game_config,:medium)}';
    var DEFAULT_MAX_TENTATIVES = #{GameConfig.game_config.max_tentatives};
    var POINTS_MULTIPLIER = #{GameConfig.game_config.points_multiplier};
    var NEW_GAME_URL = "#{new_user_word_puzzle_path(current_user.id)}";
    var finish_game_url = null;
    var currentEnigma = null;  
    var update_user_game_stats_url = "#{ajax_stats_user_path(current_user)}";
    var update_user_top_listing_url = "#{ajax_top_users_path}";
    var show_share_with_friends_btn = false;
    var invitation_path = "#{new_invitation_url}";
        
.game-welcome-line
  =game_config_welcome_line(current_facebook_user.name)
  
.game-tag-line
  =GameConfig.game_config.tag_line
.game-description-line
  =GameConfig.game_config.description

#loader-puzzle{:style=>'display:none;'}
  =image_tag('ajax-loader.gif')
#puzzle-hint-container{:style=>'display:none;'}
  =t(:hint)
  %span{:id=>"puzzle_hint"}
#puzzle
  
.content_container
  #loader-content{:style=>'display:none;'}
    =image_tag('ajax-loader.gif')
  #middle-advert
    -if Advert.advert.middle_advert
      = Advert.advert.middle_advert
  #best-players
    =render :partial=>"users/best_players"